cmake_minimum_required(VERSION 3.10)

if (CMAKE_SYSTEM_NAME STREQUAL "Windows")
	add_subdirectory("win")
elseif (CMAKE_SYSTEM_NAME STREQUAL "Darwin")
	add_subdirectory("mac")
elseif (CMAKE_SYSTEM_NAME STREQUAL "Linux")
	add_subdirectory("linux")
else()
	message(FATAL_ERROR "Unsupported platform: ${CMAKE_SYSTEM_NAME}")
endif()
